home *** CD-ROM | disk | FTP | other *** search
/ 400 MB of Top PC Shareware / 400 MB Of Top PC Shareware.iso / misc / help30.exe / HLPCNTXT.SMM < prev    next >
INI File  |  1992-06-08  |  6KB  |  719 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     HP LaserJet III
  13. [port]
  14.     LPT3:
  15. [lang]
  16.     1
  17. [desc]
  18.     Creates a Context footnote from the title for the help topic.
  19.     
  20.     
  21.     
  22.     
  23.     708029156
  24.     22
  25.     693508439
  26.     97
  27.     1
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     0
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [tag]
  54.     Body Text
  55.     2
  56.     [fnt]
  57.         TimesNewRomanPS
  58.         240
  59.         0
  60.         49152
  61.     [algn]
  62.         1
  63.         1
  64.         0
  65.         0
  66.         0
  67.     [spc]
  68.         33
  69.         273
  70.         1
  71.         0
  72.         0
  73.         1
  74.         100
  75.     [brk]
  76.         4
  77.     [line]
  78.         8
  79.         0
  80.         1
  81.         0
  82.         1
  83.         1
  84.         1
  85.         10
  86.         10
  87.         1
  88.     [spec]
  89.         0
  90.         0
  91.         
  92.         0
  93.         1
  94.         1
  95.         0
  96.         0
  97.         0
  98.         0
  99.     [nfmt]
  100.         280
  101.         1
  102.         2
  103.         .
  104.         ,
  105.         $
  106.     Body Text
  107.     0
  108.     0
  109. [tag]
  110.     Body Single
  111.     3
  112.     [fnt]
  113.         TimesNewRomanPS
  114.         240
  115.         0
  116.         49152
  117.     [algn]
  118.         1
  119.         1
  120.         0
  121.         0
  122.         0
  123.     [spc]
  124.         33
  125.         273
  126.         1
  127.         0
  128.         0
  129.         1
  130.         100
  131.     [brk]
  132.         4
  133.     [line]
  134.         8
  135.         0
  136.         1
  137.         0
  138.         1
  139.         1
  140.         1
  141.         10
  142.         10
  143.         1
  144.     [spec]
  145.         0
  146.         0
  147.         
  148.         0
  149.         1
  150.         1
  151.         0
  152.         0
  153.         0
  154.         0
  155.     [nfmt]
  156.         280
  157.         1
  158.         2
  159.         .
  160.         ,
  161.         $
  162.     Body Single
  163.     0
  164.     0
  165. [tag]
  166.     Bullet
  167.     4
  168.     [fnt]
  169.         TimesNewRomanPS
  170.         240
  171.         0
  172.         49152
  173.     [algn]
  174.         1
  175.         1
  176.         0
  177.         288
  178.         288
  179.     [spc]
  180.         33
  181.         273
  182.         1
  183.         0
  184.         0
  185.         1
  186.         100
  187.     [brk]
  188.         4
  189.     [line]
  190.         8
  191.         0
  192.         1
  193.         0
  194.         1
  195.         1
  196.         1
  197.         10
  198.         10
  199.         1
  200.     [spec]
  201.         0
  202.         0
  203.         <*0>
  204.         360
  205.         1
  206.         1
  207.         0
  208.         0
  209.         0
  210.         0
  211.     [nfmt]
  212.         272
  213.         1
  214.         2
  215.         .
  216.         ,
  217.         $
  218.     Bullet
  219.     0
  220.     0
  221. [tag]
  222.     Bullet 1
  223.     5
  224.     [fnt]
  225.         TimesNewRomanPS
  226.         240
  227.         0
  228.         49152
  229.     [algn]
  230.         1
  231.         1
  232.         288
  233.         288
  234.         288
  235.     [spc]
  236.         33
  237.         273
  238.         1
  239.         0
  240.         0
  241.         1
  242.         100
  243.     [brk]
  244.         4
  245.     [line]
  246.         8
  247.         0
  248.         1
  249.         0
  250.         1
  251.         1
  252.         1
  253.         10
  254.         10
  255.         1
  256.     [spec]
  257.         0
  258.         0
  259.         <*5>
  260.         0
  261.         1
  262.         1
  263.         0
  264.         0
  265.         0
  266.         0
  267.     [nfmt]
  268.         280
  269.         1
  270.         2
  271.         .
  272.         ,
  273.         $
  274.     Bullet 1
  275.     0
  276.     0
  277. [tag]
  278.     Number List
  279.     6
  280.     [fnt]
  281.         TimesNewRomanPS
  282.         240
  283.         0
  284.         49152
  285.     [algn]
  286.         1
  287.         1
  288.         360
  289.         360
  290.         360
  291.     [spc]
  292.         33
  293.         273
  294.         1
  295.         0
  296.         0
  297.         1
  298.         100
  299.     [brk]
  300.         4
  301.     [line]
  302.         8
  303.         0
  304.         1
  305.         0
  306.         1
  307.         1
  308.         1
  309.         10
  310.         10
  311.         1
  312.     [spec]
  313.         0
  314.         0
  315.         <*:>.
  316.         360
  317.         1
  318.         1
  319.         0
  320.         0
  321.         0
  322.         0
  323.     [nfmt]
  324.         272
  325.         1
  326.         2
  327.         .
  328.         ,
  329.         $
  330.     Number List
  331.     0
  332.     0
  333. [tag]
  334.     Subhead
  335.     7
  336.     [fnt]
  337.         TimesNewRomanPS
  338.         240
  339.         0
  340.         49155
  341.     [algn]
  342.         1
  343.         1
  344.         0
  345.         0
  346.         0
  347.     [spc]
  348.         33
  349.         273
  350.         1
  351.         72
  352.         72
  353.         1
  354.         100
  355.     [brk]
  356.         4
  357.     [line]
  358.         8
  359.         0
  360.         1
  361.         0
  362.         1
  363.         1
  364.         1
  365.         10
  366.         10
  367.         1
  368.     [spec]
  369.         0
  370.         2
  371.         
  372.         0
  373.         1
  374.         1
  375.         0
  376.         0
  377.         0
  378.         0
  379.     [nfmt]
  380.         272
  381.         1
  382.         2
  383.         .
  384.         ,
  385.         $
  386.     Subhead
  387.     0
  388.     0
  389. [tag]
  390.     Title
  391.     8
  392.     [fnt]
  393.         Arial MT
  394.         360
  395.         0
  396.         16385
  397.     [algn]
  398.         4
  399.         1
  400.         0
  401.         0
  402.         0
  403.     [spc]
  404.         33
  405.         446
  406.         1
  407.         144
  408.         72
  409.         1
  410.         100
  411.     [brk]
  412.         16
  413.     [line]
  414.         8
  415.         0
  416.         1
  417.         0
  418.         1
  419.         1
  420.         1
  421.         10
  422.         10
  423.         1
  424.     [spec]
  425.         0
  426.         1
  427.         
  428.         0
  429.         1
  430.         1
  431.         0
  432.         0
  433.         0
  434.         0
  435.     [nfmt]
  436.         272
  437.         1
  438.         2
  439.         .
  440.         ,
  441.         $
  442.     Title
  443.     0
  444.     0
  445. [lay]
  446.     Standard
  447.     513
  448.     [rght]
  449.         15840
  450.         12240
  451.         1
  452.         1440
  453.         1440
  454.         1
  455.         1440
  456.         1440
  457.         0
  458.         1
  459.         0
  460.         1
  461.         0
  462.         2
  463.         1
  464.         1440
  465.         10800
  466.         12
  467.         1
  468.         720
  469.         1
  470.         1440
  471.         1
  472.         2160
  473.         1
  474.         2880
  475.         1
  476.         3600
  477.         1
  478.         4320
  479.         1
  480.         5040
  481.         1
  482.         5760
  483.         1
  484.         6480
  485.         1
  486.         7200
  487.         1
  488.         7920
  489.         1
  490.         8640
  491.     [hrght]
  492.     [lyfrm]
  493.         1
  494.         11200
  495.         0
  496.         0
  497.         12240
  498.         1440
  499.         0
  500.         1
  501.         3
  502.         1 0 0 0 0 0 0
  503.         0
  504.         0
  505.         1
  506.     [frmlay]
  507.         1440
  508.         12240
  509.         1
  510.         1440
  511.         72
  512.         1
  513.         792
  514.         1440
  515.         0
  516.         1
  517.         0
  518.         1
  519.         1
  520.         0
  521.         1
  522.         1440
  523.         10800
  524.         1
  525.         3
  526.         9360
  527.     [txt]
  528. >
  529.     [frght]
  530.     [lyfrm]
  531.         1
  532.         13248
  533.         0
  534.         14400
  535.         12240
  536.         15840
  537.         0
  538.         1
  539.         3
  540.         1 0 0 0 0 0 0
  541.         0
  542.         0
  543.         2
  544.     [frmlay]
  545.         15840
  546.         12240
  547.         1
  548.         1440
  549.         792
  550.         1
  551.         14472
  552.         1440
  553.         0
  554.         1
  555.         0
  556.         1
  557.         1
  558.         0
  559.         1
  560.         1440
  561.         10800
  562.         2
  563.         2
  564.         4680
  565.         3
  566.         9360
  567.     [txt]
  568. >
  569. [elay]
  570. [l1]
  571.     0
  572. [pg]
  573.     1
  574.     37 0 12 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  575. [edoc]
  576. <:#278,9360>' This macro creates a Context footnote from the title for a help topic.
  577.  
  578. <:#278,9360>' It copies the title for the topic, creates a Context footnote, and pastes the title in that footnote.
  579.  
  580. <:#278,9360>' It then capitalizes the footnote text, converts any spaces to underlines, and places the insertion
  581.  
  582. <:#278,9360>' point back at the top of the page.
  583.  
  584. <:#278,9360>' NOTE: This macro assumes that the insertion point is at the left margin on the first line of the
  585.  
  586. <:#278,9360>' page, that the first line contains only a return, and that the title for the help topic is on the
  587.  
  588. <:#278,9360>' second line. You must modify the macro if you do not use this format.
  589.  
  590. <:#278,9360>
  591.  
  592. <:#278,9360>FUNCTION HLPCNTXT1()
  593.  
  594. <:#278,9360>declare stripit(name)
  595.  
  596. <:#278,9360>Type( "<[>Down]<[>Home]<[>SHIFTEnd]" )
  597.  
  598. <:#278,9360>TEXT=CURSHADE$()
  599.  
  600. <:#278,9360>TEXT=STRIPIT(TEXT)
  601.  
  602. <:#278,9360>Type( "<[>Up]<[>Home]" )
  603.  
  604. <:#278,9360>Footnotes(1 0 1 0 0  )
  605.  
  606. <:#278,9360>SetStyle("Context"   )
  607.  
  608. <:#278,9360>TYPE("{TEXT}")
  609.  
  610. <:#278,9360>Type( "<[>SHIFTHome]" )
  611.  
  612. <:#278,9360>Uppercase( )
  613.  
  614. <:#278,9360>Type( "<[>RIGHT]" )
  615.  
  616. <:#278,9360>Type( "<[>ESC]" )
  617.  
  618. <:#278,9360>END FUNCTION
  619.  
  620. <:#278,9360>
  621.  
  622. <:#278,9360>function stripit(name)
  623.  
  624. <:#278,9360>spos = 1
  625.  
  626. <:#278,9360>newname = ""
  627.  
  628. <:#278,9360>while (1)
  629.  
  630. <:#278,9360>    txt = strfield$(name, spos, " ")
  631.  
  632. <:#278,9360>    if txt = -1 or txt = ""
  633.  
  634. <:#278,9360>        break
  635.  
  636. <:#278,9360>    endif
  637.  
  638. <:#278,9360>    newname = strcat$(newname, "_", txt)
  639.  
  640. <:#278,9360>    spos = spos + 1
  641.  
  642. <:#278,9360>wend
  643.  
  644. <:#278,9360>newname = right$(newname, (len(newname) - 1))
  645.  
  646. <:#278,9360>return newname
  647.  
  648. <:#278,9360>END FUNCTION
  649.  
  650. >
  651.  
  652. [Embedded]
  653. 00005509
  654. >
  655. [macsum] 2
  656. HLPCNTXT1 0 0 2 8
  657. stripit 202 1 4 23
  658. [macse]
  659. 14 HLPCNTXT1
  660. 0 6 "[40][36][4131]"
  661. 0 24
  662. 13
  663. 8 1
  664. 16 STRIPIT "{1}"
  665. 13
  666. 8 1
  667. 0 6 "[38][36]"
  668. 2 160 1 1 0 1 0 0
  669. 2 323 1 "Context"
  670. 0 6 "{1}"
  671. 0 6 "[4132]"
  672. 2 273 1
  673. 0 6 "[39]"
  674. 0 6 "[27]"
  675. 6 0
  676. 15
  677. 9
  678. 14 stripit
  679. 5 1
  680. 8 2
  681. 7 ""
  682. 8 3
  683. 5 1
  684. 11 00000211
  685. 0 20 "{0}" "{2}" " "
  686. 13
  687. 8 4
  688. 6 4
  689. 5 -1
  690. 18 0
  691. 6 4
  692. 7 ""
  693. 18 0
  694. 1 2
  695. 11 00000147
  696. 10 00000211
  697. 0 16 "{3}" "_" "{4}"
  698. 13
  699. 8 3
  700. 6 2
  701. 5 1
  702. 3 0
  703. 8 2
  704. 10 00000033
  705. 0 14 "{3}"
  706. 13
  707. 5 1
  708. 3 1
  709. 0 807 "{3}" [X]
  710. 13
  711. 8 3
  712. 6 3
  713. 15
  714. 9
  715. 6 1
  716. 15
  717. 9
  718. 00005534
  719.